package com.example.recyclerview01.simple2;

import android.util.Log;

public class TeacherEat implements Eat {
    private Eat eat;
    public TeacherEat(PersonEat eat) {
        this.eat = eat;
    }
    @Override
    public void eat() {
        Log.d("TAG", "喝汤");
        Log.d("TAG", "雪山个。吃饭吃菜略略略");
        eat.eat(); // 调用Eat对象的eat方法。
        Log.d("TAG", "不要送盘子");
    }
}
